﻿@model WhereAmiMvc.Entities.Dept

@{
    ViewBag.Title = "删除";
}

<h2>删除</h2>

<h3>是否确定要删除该条记录？</h3>
<div>
    <h4>部门信息</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.IdDept)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.IdDept)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.DeptName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.DeptName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.DeptDiscription)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.DeptDiscription)
        </dd>

    </dl>

    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="Delete" class="btn btn-default" /> |
            @Html.ActionLink("返回列表", "Index")
        </div>
    }
</div>
